//
//  LoginViewController.h
//  Ezi2u
//
//  Created by mac on 16/9/18.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonDefines.h"

@protocol LoginDelegate <NSObject>
-(void)loginActionWithTag:(LoginActionType)type;
@end

@interface LoginViewController : UIViewController<UITextFieldDelegate>
//背景 滑动scrollView
@property (weak, nonatomic) IBOutlet UIImageView *bgdImageView;
@property (weak, nonatomic) IBOutlet UIScrollView *bgdScrollview;
@property (weak, nonatomic) IBOutlet UIImageView *bgdImageV;
@property (weak,nonatomic)id<LoginDelegate>A_Delegate;
//login
@property (weak, nonatomic) IBOutlet UIButton *loginBtn;
- (IBAction)login:(id)sender;
//facebook
@property (weak, nonatomic) IBOutlet UIButton *facebookBtn;
- (IBAction)facebookLogin:(id)sender;
//wechat
@property (weak, nonatomic) IBOutlet UIButton *wechatBtn;
- (IBAction)wechatLogin:(id)sender;
//browse access
@property (weak, nonatomic) IBOutlet UIButton *browseBtn;
- (IBAction)browse:(id)sender;
//forgotPassword
- (IBAction)forgotPassword:(id)sender;
//register
- (IBAction)registerEzi2u:(id)sender;
//rights
- (IBAction)allRights:(id)sender;

//(usename、password) input
@property (weak, nonatomic) IBOutlet UITextField *usernameTF;
@property (weak, nonatomic) IBOutlet UITextField *passwordTF;
@property (weak, nonatomic) IBOutlet UILabel *usernameLabel;
@property (weak, nonatomic) IBOutlet UILabel *passwordLabel;
- (IBAction)editingChanged:(id)sender;


@end
